<style type="text/css">
/*    ul.yiiPager
    {
        font-size:11px;
        border:0;
        margin:0;
        padding:0;
        line-height:100%;
        display:inline;
    }

    ul.yiiPager li
    {
        display:inline;
    }

    ul.yiiPager a:link,
    ul.yiiPager a:visited
    {
        	border:solid 1px #9aafe5;
                font-weight:bold;
                color:#0e509e;
                padding:1px 6px;
                text-decoration:none;
        background: none repeat scroll 0 0 #FFFFFF;
        border: 1px solid #E0E0E0;
        color: #919191;
        text-decoration: none;
    }

    ul.yiiPager .page{
        margin: 0 4px;
        padding: 5px 10px;
    }

    ul.yiiPager .page a
    {
        font-weight:normal;
    }

    ul.yiiPager a:hover
    {
        border:solid 1px #0e509e;
    }

    ul.yiiPager .selected a
    {
        background:#2e6ab1;
        color:#FFFFFF;
        font-weight:bold;
    }

    ul.yiiPager .hidden a
    {
        border:solid 1px #DEDEDE;
        color:#888888;
    }

    *
     * Hide first and last buttons by default.
    
    ul.yiiPager .first,
    ul.yiiPager .last
    {
        display:none;
    }*/
</style>
<?php
    //if listed by categories
    if (isset($isCategorized) && $isCategorized == true)
        echo " <h1>All Books In " . $categoryName . " Genre</h1>";
    else// if is index - show all movies
        echo "<h1>All Books</h1>";
?>
<?php
    $this->widget('zii.widgets.CListView', array(
        'dataProvider' => $bookDataProvider,
        'itemView' => '_book',
        'emptyText' => 'Not any books',
        //Disble "Displaying 1-2 of 9 result(s)."
        'template' => '{items}{pager}',
        'pagerCssClass' => 'pages',
        'pager' => array(
            'header' => '',
//                'cssFile' => false,
//            'cssFile' => Yii::app()->theme->baseUrl . "/views/layouts/styles/CLISTVIEW.css",
//            'prevPageLabel' => 'Trang trước',
//            'nextPageLabel' => 'Trang tiếp',
//            'firstPageLabel' => 'Trang đầu tiên',
//            'lastPageLabel' => 'Trang cuối',
        ),
//        'cssFile' => Yii::app()->theme->baseUrl . '/css/CListViewCss.css',
    ));
    
?>